package RentCar;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * @author HP
 */
public class Vehicle {
    private String VehicleId;
    private String brand;
    private int perRent;

    public String getVehicleId() {
        new Date().getSeconds();
        return VehicleId;
    }

    public void setVehicleId(String vehicleId) {
        VehicleId = vehicleId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getPerRent() {
        return perRent;
    }

    public void setPerRent(int perRent) {
        this.perRent = perRent;
    }

    public Vehicle() {
    }

    public Vehicle(String vehicleId, String brand, int perRent) {
        VehicleId = vehicleId;
        this.brand = brand;
        this.perRent = perRent;
    }
    public float calRent(int days){
        return 1.0f*days*perRent;
    }
    public void leaseOutFlow(){
        return;
    }
}
